package com.swc.secret;

import com.swc.util.AesUtil;

/**
 * Des结合Rsa加解密类
 * @author huyupeng
 * @date 2020/9/18 8:58
 */
public class AesSecret extends AbstractSecret {

    @Override
    public String encrypt(String content, String key, String salt) throws Exception {
        return AesUtil.aesEncrypt(content, salt);
    }

    @Override
    public String decrypt(String content, String key, String salt) throws Exception {
        return AesUtil.aesDecrypt(content, salt);
    }

}
